package task6;


public class MyMath {
    public static void main(String[] args) {
        System.out.println("向下取整５.6:"+ Math.floor(5.6));
        System.out.println("四舍五入5.6:"+ Math.round(5.6));
        System.out.println("2的3次方："+ Math.pow(2,3));
        System.out.println("2和6的最大值："+ Math.max(2,6));
        System.out.println("0到1之间的随机数："+ Math.random());

    }
}
